| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Layout.h
1 // Layout.h
3 //
5
6 namespace nkWinUi
7 {
11 class Layout : public nkExport::Exportable
12 {
13 public :
14
20 Layout (System* system) noexcept ;
24 virtual ~Layout () ;
25
26 // Getters
30 Component* getParentComponent () const ;
34 System* getSystem () const ;
38 LAYOUT_TYPE getType () const ;
39
40 // Setters
48 virtual void setParentComponent (Component* parent) ;
49
50 // Components
56 virtual void removeComponent (Component* component) = 0 ;
57
63 virtual void exportClassToTree (nkExport::Node* rootNode) override ;
69 virtual void exportComponentsNodeEntry (nkExport::Node* rootNode) ;
75 virtual void importClassFromTree (nkExport::Node* rootNode) override ;
81 virtual void processComponentsNodeEntry (nkExport::Node* rootNode) ;
82
86 virtual void update () = 0 ;
87 } ;
88 }
nkWinUi::Layout::Layout
Layout(System *system) noexcept
nkWinUi::Layout::~Layout
virtual ~Layout()
nkWinUi::LAYOUT_TYPE
LAYOUT_TYPE
Defines the type of layout available.
Definition: LayoutType.h:12
nkWinUi::Layout::getSystem
System * getSystem() const
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkWinUi::Layout::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkWinUi::Layout
Represents a layout to organize children of a component.
Definition: Layout.h:12
nkWinUi::Layout::getType
LAYOUT_TYPE getType() const
nkWinUi::Layout::setParentComponent
virtual void setParentComponent(Component *parent)
nkWinUi::Component
Base class for any graphical component.
Definition: Component.h:12
nkWinUi::Layout::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkWinUi::System
The main system of the component.
Definition: System.h:18
nkWinUi::Layout::getParentComponent
Component * getParentComponent() const
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkWinUi::Layout::exportComponentsNodeEntry
virtual void exportComponentsNodeEntry(nkExport::Node *rootNode)
nkWinUi::Layout::update
virtual void update()=0
nkWinUi::Layout::processComponentsNodeEntry
virtual void processComponentsNodeEntry(nkExport::Node *rootNode)
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkWinUi::Layout::removeComponent
virtual void removeComponent(Component *component)=0